<template>
  <view class="title">我是标题</view>
</template>
<script langt="ts" setup></script>
<style scoped>
.title {
  position: fixed;
  top: 0;
  text-align: center;
  background-color: pink;
  height: 80px;
}
</style>
